package com.example.p6;

import java.io.File;
import java.util.Date;

public class Main5 {
    public static void main(String[] args) {
        File file=new File("Main.java");
        Long lastModidied=file.lastModified();
        Date date=new Date(lastModidied);
        System.out.println(date);
    }
}
